﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IncrementalBackups.Helpers
{

    public class StringValueAttribute : Attribute
    {
        public string StringValue { get; protected set; }

        public StringValueAttribute(string value)
        {
            this.StringValue = value;
        }
    }

    /// <summary>
    /// Type of logs types.
    /// </summary>
    public enum LogsType
    {
        /// <summary>
        /// 
        /// </summary>
        [StringValue("Error")]
        Error = 1,
        /// <summary>
        /// 
        /// </summary>
        [StringValue("Event")]
        Event = 2
    }
    /// <summary>
    /// Type of event types.
    /// </summary>
    public enum EventType
    {
        /// <summary>
        /// Start
        /// </summary>
        [StringValue("Start")]
        Start = 1,
        /// <summary>
        /// Faild
        /// </summary>
        [StringValue("Faild")]
        Faild = 2,
        /// <summary>
        /// succee
        /// </summary>
        [StringValue("succee")]
        succee = 3,
        /// <summary>
        /// end
        /// </summary>
        [StringValue("End")]
        End = 4
    }

}
